package service

import (
	"golang-sgg-daijia/internal/repository/mysql"
	"golang-sgg-daijia/pkg/jwt"
	"golang-sgg-daijia/pkg/log"
	"golang-sgg-daijia/pkg/sid"
)

type Service struct {
	logger *log.Logger
	sid    *sid.Sid
	jwt    *jwt.JWT
	tm     mysql.Transaction
}

func NewService(
	tm mysql.Transaction,
	logger *log.Logger,
	sid *sid.Sid,
	jwt *jwt.JWT,
) *Service {
	return &Service{
		logger: logger,
		sid:    sid,
		jwt:    jwt,
		tm:     tm,
	}
}

//func (r *Service) Logger() *log.Logger {
//	return r.logger
//}
//
//func (r *Service) Sid() *sid.Sid {
//	return r.sid
//}
//
//func (r *Service) Jwt() *jwt.JWT {
//	return r.jwt
//}
//
//func (r *Service) Tm() mysql.Transaction {
//	return r.tm
//}
